
import request from '../../utils/request';
import { Category } from '@/models/category';
import { ApiResponse } from '@/models/common';

/**
 * 获取所有分类的列表
 */
export const getAllCategory = async () => {
  return request.get<Category[]>(`/category/all`);
};
